import request from '@/utils/request'

// 奖品记录列表
export function apiMallGoodsRecordLists(params: any) {
    return request.get({ url: '/mall.mall_goods_record/lists', params })
}

// 添加奖品记录
export function apiMallGoodsRecordAdd(params: any) {
    return request.post({ url: '/mall.mall_goods_record/add', params })
}

// 编辑奖品记录
export function apiMallGoodsRecordEdit(params: any) {
    return request.post({ url: '/mall.mall_goods_record/edit', params })
}

// 删除奖品记录
export function apiMallGoodsRecordDelete(params: any) {
    return request.post({ url: '/mall.mall_goods_record/delete', params })
}

// 奖品记录详情
export function apiMallGoodsRecordDetail(params: any) {
    return request.get({ url: '/mall.mall_goods_record/detail', params })
}